/* "use client"
import { redirect } from "next/navigation"

export default function Page() {
  const handleClick = () => {
    redirect('/login')
  }
  return (
    <div>
      hello setting page
      <div>
        <button onClick={handleClick}>重定向到login</button>
      </div>
    </div>
  )
} */

/* import { redirect, permanentRedirect } from "next/navigation"

export default function Page() {
  // redirect('/login')
  // permanentRedirect('/login') // 浏览器会产生 缓存 下次直接就会调整到login页面
  return (
    <div>
      hello setting page
    </div>
  )
} */

export default function Page() {
  return <div>hello setting page</div>;
}
